@charset "UTF-8";
@import 'sassConfig';

#slide-wrap {
    position: relative;
    overflow: hidden;
}
.slide-content {
    position: relative;
    left: 0;
    @include webkit(transition, all 1s ease-in 0s);
    li {
        float: left;
    }
}
.slide-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 15px;
    z-index: 2;
    text-align: center;
    font-size: 0;
    a {
        display: inline-block;
        width: 8px;
        height: 3px;
        margin: 0 3px;
        background-color: #fff;
        opacity: .5;
        filter: alpha(opacity = 50);
        &.current {
            opacity: 1;
            filter: alpha(opacity = 100);
        }
    }
}
.slide-next, .slide-prev {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background-color: #fff;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    .iconfont {
        font-size: 24px;
    }
}
.slide-prev { left: 20px; }
.slide-next { right: 20px; }

// 图文列表
.info-list {
    padding: 0 45px;
    // ul { @extend .clearfix; }
    figure {
        float: left;
        width: 33.33333%;
        padding: 0 25px;
        @include webkit(box-sizing, border-box);
    }
    img { width: 100%; }
    figcaption {
        padding: 24px 0 10px;
        margin-bottom: 11px;
        border-bottom: 1px solid #d9d9d9;
        font-size: 18px;
        color: $main-text;
    }
    p {
        line-height: 22px;
        color: $text-gray;
    }
}
// https://public.xp.cn/upgrades/phpstudy_install.dmg
.more-link {
    display: block;
    width: 118px;
    height: 34px;
    margin: 55px auto 90px;
    border: 1px solid #e8e8e8;
    border-radius: 100px;
    color: $text-gray;
    line-height: 37px;
    text-align: center;
    @include webkit(transition, all .5s ease 0s);
    &:hover {
        background-color: $main-color;
        color: #fff;
        border-color: $main-color;
    }
}

/*公益模块*/
.welfare {
    margin-bottom: 90px;
    header { background-color: #efefef; }
}
.welfare-wrap {
    display: flex;
    //height: 570px;
    .row { 
        // float: left;
        flex: 1;
        width: 33.33333%; 
    }
    .content-flex{
        display: flex;
        height: 100%;
        flex-direction: column;
    }
    .row:last-child {
       .content-flex-small { order: 1; }
       .content-flex-big { order: 2; }
    }
    .content-flex-big { height: 380px; }
    .content-flex-small { height: 190px; }
    
    .content-dec { 
        padding: 42px 48px 0 40px;
        .title {
            font-size: 24px;
        }
        time { 
            display: block;
            padding: 14px 0 20px;
            opacity: .5;
            filter: alpha(opacity = 50);
        }
        .line {
            display: block;
            width: 38px;
            border-top: 1px solid #cccccc;
        }
        .dec {
            margin-top: 33px;
            line-height: 24px;
            @include ell(3);
        }
        .link-more { margin-top: 16px; }
    }
    .color-white {
        .title, time, .dec, .link-more { color: #fff; }
        .link-more { border-color: #fff; }
    }
}

